import request from '@/utils/request'

// 查询压实度试验检测报告(灌砂法)列表
export function listYsdgsfbgBsInfo(query) {
  return request({
    url: '/report_ljlm/ysdgsfbgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询压实度试验检测报告(灌砂法)详细
export function getYsdgsfbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/ysdgsfbgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增压实度试验检测报告(灌砂法)
export function addYsdgsfbgBsInfo(data) {
  return request({
    url: '/report_ljlm/ysdgsfbgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改压实度试验检测报告(灌砂法)
export function updateYsdgsfbgBsInfo(data) {
  return request({
    url: '/report_ljlm/ysdgsfbgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除压实度试验检测报告(灌砂法)
export function delYsdgsfbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/ysdgsfbgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 获取检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_ljlm/ysdgsfbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
